public class TestDemo {






    /*public static void main56(String[] args) {
        double a = 1.1;
        System.out.println(a*a);
        //小数其实没有精确的  只能说 精确到某一位
    }*/
   /* public static void main(String[] args) {
        byte a = 10;
        byte b = 20;
        //可以写为下面两种
        byte c = (byte)(a+b);
        int d = a+b;
        System.out.println(c);
        System.out.println(d);
    }
*/












  /*  public static void main1(String[] args) {
       int a = 10;
       long b =20;
       int c = (int)(a+b);//这里要运算 首先将a提升为8个字节
                          // 然后和b参与运算--> 得到8个字节的结果
       long d = a + b;
        System.out.println(c);
        System.out.println(d);
    }
*/
   /* public static void main(String[] args) {
        int a = 10;
        float b = 20F;
        b = a;

    }

    */

    /*public static void main(String[] args) {
        int a = 10;
        long b = 20L;
        a = (int)b;//这里需要通过强转，然后才会经行编译
        b = a;//可以通过编译
        System.out.println(a);
        System.out.println(b);
    }*/
   /* public static void main(String[] args) {
        boolean value = true;
        System.out.println(value+1);
    }*/
   /* //在Java中，真只有一个true， 假只有一个 false
    public static void main(String[] args) {
        //boolean在Java中，JVM没有明确他的大小
        boolean flg = true;
        System.out.println(flg);
    }
*/
   /* public static void main(String[] args) {
        char ch ='a';
        System.out.println(ch);
        char ch2 ='帅';
        System.out.println(ch2);
        char ch3 = 97;
        System.out.println(ch3);
    }*/
    /*public static void main(String[] args) {
        float f = 12.5f;

        System.out.println(f);
    }
*/

   /* public static void main(String[] args) {
        double a = 1.1;
        System.out.println(a*a);
        //小数其实没有精确的  只能说 精确到某一位
    }*/
    /*
    public static void main(String[] args) {
        int a = 1;
        int b = 2;
        System.out.println(a/b);
    }

     */

    /*
    public static void main(String[] args) {
        double d = 12.5;
        System.out.println(Double.MAX_VALUE );
        System.out.println(Double.MIN_VALUE );
        System.out.println(d);

    }

     */

    /*
    public static void main(String[] args) {
        byte b = 10;
        System.out.println(b);
        System.out.println(Byte.MIN_VALUE );
        System.out.println(Byte.MAX_VALUE );
    }

     */
    /*
    public static void main(String[] args) {
        short sh = 10;
        System.out.println(sh);
        System.out.println(Short.MIN_VALUE );
        System.out.println(Short.MAX_VALUE );
    }

     */
    /*
    public static void main(String[] args) {
        long a = 10L;
        System.out.println(a);
        System.out.println(Long.MIN_VALUE);
        System.out.println(Long.MAX_VALUE );
    }

     */

    /*
    public static void main(String[] args) {
        int c;
        System.out.println(c);
        c=100;
    }

     */
    /*
    public static void main(String[] args) {
        int a = 10;
        System.out.println(Integer.MAX_VALUE );
        System.out.println(Integer.MIN_VALUE);
    }

     */
    /*
    public static void main2(String[] args) {

       final int a = 10;//变量a被final修饰，此时的a叫做常量，a不可修改
        a = 20;
        System.out.println(a);

    }

     */
      /*
    public static void main(String[] args) {
        int a1 = 10, a2 = 20, a3=30;
        System.out.println(a1);
        System.out.println(a2);
        System.out.println(a3);

    }

       */

    /*
    public static void main1(String[] args) {
        System.out.println("Hello World");
        System.out.println("100");
        System.out.println("3.14");
        System.out.println('A');
        System.out.println(true);
        System.out.println(false);
    }
     */
}
